package com.lh.runmanage.dto;

import com.lh.runmanage.model.children;

import java.util.List;

/**
 * @author ：梁昊，后端工程师：梁昊
 * @create 2021-07-21 15:37
 * @function
 * @editLog
 */
public final class ProjectAndProductDto {
    /**
     * 主键
     */
    private String id;
    /**
     * 产品名称
     */
    private String title;
    /**
     * 树，是否展开
     */
    private boolean expand;

    public ProjectAndProductDto() {
        this.expand = true;
    }

    public boolean isExpand() {
        return expand;
    }

    public void setExpand(boolean expand) {
        this.expand = expand;
    }

    public String getId(){
        return id;
    }

    public void setId(String id){
        this.id = id;
    }

    public String getTitle(){
        return title;
    }

    public void setTitle(String title){
        this.title = title;
    }
    /**
     * 关联外表:vou_productAndProject，一对多；
     */
    private List<com.lh.runmanage.model.children> children;

    public List<com.lh.runmanage.model.children> getChildren() {
        return children;
    }

    public void setChildren(List<com.lh.runmanage.model.children> children) {
        this.children = children;
    }
}
